Skip to content

Extract controller setup, add console/sandbox image flags, and refine API types#3

Merged
harche merged 1 commit into
openshift:mainfrom
harche:wt/e2e-testing
May 19, 2026
Merged

Extract controller setup, add console/sandbox image flags, and refine API types#3
harche merged 1 commit into
openshift:mainfrom
harche:wt/e2e-testing

Conversation

@harche
Copy link
Copy Markdown
Contributor

@harche harche commented May 8, 2026

Extracts controller setup into controller/setup.go and adds --agentic-console-image and --agentic-sandbox-image CLI flags.

🤖 Generated with Claude Code

xrajesh pushed a commit to xrajesh/lightspeed-agentic-operator that referenced this pull request May 10, 2026
…shift#8-11, openshift#13-17, #19-22, #29, #32)

- openshift#1: Change status.attempts from *int32 to int32 with min=1/max=int32 validation
- openshift#2: Move maxAttempts from ProposalSpec to ApprovalPolicy (admin ceiling) and
  ExecutionApproval (user choice); fix semantics so N = N total attempts
- openshift#3: Remove spec.revision, use metadata.generation for revision signaling
- openshift#4: Make ProposalStep.tools non-pointer with omitzero, add MinProperties=1
- openshift#8-11: Make outcome/result/conditionOutcome required; SandboxInfo fields required
- openshift#13: Add CEL singleton rule (metadata.name == "cluster") on ApprovalPolicy
- openshift#14: Use listType=map+listMapKey=name on ApprovalPolicy stages
- openshift#15: Remove defaultOption from ApprovalPolicy (operator defaults to option 0)
- #16-17: Add omitempty to name/approval, document allowed values
- #19: Replace denied bool with decision enum (Approved|Denied) + CEL immutability
- #20: Make ProposalApproval spec required
- #21: Use listType=map+listMapKey=type on ProposalApproval stages
- #22: Make estimatedImpact required on RemediationOption
- #29: Remove components from ExecutionResult and VerificationResult (copy-paste error)
- #32: Add MinProperties=1 to ToolsSpec

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@harche harche changed the title WIP: Rename ApprovalPolicy to AgenticConfig and consolidate configuration Remove AgenticConfig, simplify to ApprovalPolicy + controller setup May 12, 2026
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 12, 2026
@harche harche changed the title Remove AgenticConfig, simplify to ApprovalPolicy + controller setup Extract controller setup, add console/sandbox image flags, and refine API types May 12, 2026
@harche harche force-pushed the wt/e2e-testing branch 3 times, most recently from 3b7dd51 to 55dd6ef Compare May 12, 2026 18:31
@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 15, 2026
… API types

- Extract controller wiring into controller/setup.go (Options struct
  with Namespace, AgenticConsoleImage, AgenticSandboxImage)
- Add --agentic-console-image and --agentic-sandbox-image CLI flags
  to main.go, replacing hardcoded template references
- Register OpenShift console/operator API schemes for ConsolePlugin
  reconciliation
- Refine SkillsSource docs and make paths required (no whole-image mount)
- Add defaultTools to Proposal spec for per-proposal tool defaults
- Simplify sandbox agent caller setup
- Update examples and docs to use find-token skill from
  quay.io/harpatil/agentic-skills:latest (TODO: replace with Konflux image)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@openshift-ci openshift-ci Bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 19, 2026
@harche harche marked this pull request as ready for review May 19, 2026 13:51
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 19, 2026
@harche harche merged commit ea97274 into openshift:main May 19, 2026
@openshift-ci openshift-ci Bot requested review from blublinsky and raptorsun May 19, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant